package com.jzo2o.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.health.model.domain.OrdersCancelled;
import com.jzo2o.health.model.dto.request.OrdersCancelReqDTO;

/**
 * 取消订单相关业务层
 * @author JIAN
 */
public interface IOrderCancelService extends IService<OrdersCancelled> {
    /**
     * 用户取消订单
     */
    void cancelOrder(OrdersCancelReqDTO ordersCancelReqDTO);

    /**
     * 取消订单(内部使用)
     */
    void cancelOrder(OrdersCancelled ordersCancelled);
}